home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdocs / gbselect.doc < prev    next >
Encoding:
Text File  |  1994-06-06  |  2.0 KB  |  82 lines

  1. TABLE OF CONTENTS
  2.  
  3. egb/gbselect.library/EGB_CreateSelectGadget
  4. egb/gbselect.library/EGB_CreateTextSelectGadget
  5. egb/gbselect.library/EGB_ModifySelectGadget
  6. egb/gbselect.library/EGB_CreateSelectGadgetegb/gbselect.library/EGB_CreateSelectGadget
  7.  
  8.    NAME
  9.     EGB_CreateSelectGadget -- create a gadbox select gadget
  10.  
  11.    SYNOPSIS
  12.     EGB_CreateSelectGadget(con, id, elems)
  13.                            A0   D0  A1
  14.  
  15.     EB_GadBoxPtr EGB_CreateSelectGadget(EB_GadContext, LONG, EGB_GadBoxArrayPtr)
  16.  
  17.    FUNCTION
  18.     Creates a gadbox select gadget. These gadgets offer several choices,
  19.     one of them is active at any time. The active one is displayed. If
  20.     the user clicks on the gadget, the next (or prev using shift) one
  21.     becomes active and displayed.
  22.  
  23.    INPUTS
  24.     con     : The associated gadget context
  25.     id      : The gadgets id
  26.     elems   : An array of EB_GadBoxPtr. Each of them represents one choice.
  27.  
  28.    RESULT
  29.  
  30.    SEE ALSO
  31.  
  32.  
  33. egb/gbselect.library/EGB_CreateTextSelectGadgetegb/gbselect.library/EGB_CreateTextSelectGadget
  34.  
  35.    NAME
  36.     EGB_CreateTextSelectGadget -- creates a select gadget with text items
  37.  
  38.    SYNOPSIS
  39.     EGB_CreateTextSelectGadget(con, id, elems)
  40.                                A0   D0  A1
  41.  
  42.     EB_GadBoxPtr EGB_CreateTextSelectGadget(EB_GadContext, LONG, EB_StrArrayPtr)
  43.  
  44.    FUNCTION
  45.     Creates a gadbox select gadget with text choices. (see
  46.     EGB_CreateSelectGadget for more information).
  47.  
  48.    INPUTS
  49.     con    : Associated gadget context
  50.     id     : The gadgets id
  51.     elems  : An array of strings, each representing one choice.
  52.  
  53.    RESULT
  54.  
  55.    SEE ALSO
  56.  
  57.  
  58. egb/gbselect.library/EGB_ModifySelectGadgetegb/gbselect.library/EGB_ModifySelectGadget
  59.  
  60.    NAME
  61.     EGB_ModifySelectGadget -- 
  62.  
  63.    SYNOPSIS
  64.     EGB_ModifySelectGadget(win, gad, sel)
  65.                            A0   A1   D0
  66.  
  67.     void EGB_ModifySelectGadget(EI_WindowPtr, EI_GadgetPtr, WORD)
  68.  
  69.    FUNCTION
  70.     Changes the active element of a select gadget.
  71.  
  72.    INPUTS
  73.     win    : The window, that contains the gadget; if NULL, no refresh is done
  74.     gad    : The select gadget
  75.     num    : The number of the element to become the active one
  76.  
  77.    RESULT
  78.  
  79.    SEE ALSO
  80.  
  81.  
  82.